using Headsight.BPMN2WF.BPMN.Schemas;
using Headsight.BPMN2WF.Testing.TestObjCtors;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Headsight.BPMN2WF.BPMN.Model
{
    [TestClass]
    public class BPMNSequenceFlowTest : BPMNBaseElementTestFixture<BPMNSequenceFlow, tSequenceFlow>
    {
        private tSequenceFlow _tSeqFlow;

        protected override BPMNSequenceFlow CreateSut(tSequenceFlow tProcess, string expectedId)
        {
            _tSeqFlow = new tSequenceFlowCtor().Create();

            tProcess.id = expectedId;

            return new BPMNSequenceFlow(tProcess);
        }

        [TestMethod]
        public override void Id()
        {
            Assert.AreEqual("**id**", _sut.Id);
        }
    }
}